package com.opensource.lzx.restartclient.netty;

import io.netty.bootstrap.Bootstrap;

public abstract class AbstractNettyInitService implements INettyConnectService {
    protected Bootstrap bootstrap;

    @Override
    public void initClient(String host, int port) {
        this.bootstrap = new Bootstrap();
        this.doInit(host, port);
    }

    protected abstract void doInit(String host, int port);
}
